package com.itheima.demo12_模板设计模式;

public  class Test {
    public static void main(String[] args) {
        NewDriver n = new NewDriver();
        n.drive();
        System.out.println("----------");
        OldDriver o = new OldDriver();
        o.drive();
    }
}
